#字符串转集合
str1 = 'abc'
print(set(str1))


#列表转集合
list1 = [1,2,2,4]
print(set(list1))

#元组转集合
tuple1 = (1,2,3,4,5)
print(set(tuple1))

#字典转集合
dict1 = {'name':'张三','age':'18'}
print(set(dict1))